package com.yxw.live_vod_backend_facade.feign;

import com.yxw.live_vod_backend_facade.vo.WithdrawalRecordVO;
import com.yxw.yxnet_cd_center.common.utils.BaseResult;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "live-vod-backend-boot", contextId = "withdrawalRecord")
public interface WithdrawalRecordFeignClient {

    @ApiOperation(value = "获取提现记录详情")
    @PostMapping(value = "/api/withdrawal_record/get_withdrawal_record_by_id")
    public BaseResult<WithdrawalRecordVO> getWithdrawalRecordById(@RequestParam("id") Long id);
}
